<?php 

return array(

	//配置项目信息	
	"APP_NAME"						=>	"weixin",
	"APP_PATH"						=>	"http://test.dakaqi.cn/weixin",
    "OPEN_DEBUG"					=>	true,

	//微信 Token
	"weixin_token"					=>	"3c9d0cff96",
	"EncodingAESKey"				=>	"QxE2WIN0U35CnCaSgKkR54i4wPD8gPyZgsNSScPmyva",
	"app_id"						=>	"wx266794ed49f0854a",
	"app_secret"					=>	"58712410e8f9dffb04e42ac5c7ff1f16",	


	//微信服务端接口请求地址
	"url_access_token"				=>	"https://api.weixin.qq.com/cgi-bin/token",				//获取访问授权
	"url_create_menu"				=>	"https://api.weixin.qq.com/cgi-bin/menu/create",		//创建|更新自定义菜单请求地址

	// 微信用户信息接口
	"url_sns_oauth2"				=>	"https://api.weixin.qq.com/sns/oauth2/access_token",	//获取用户信息授权 获取 access_token
	"url_sns_userinfo"				=>	"https://api.weixin.qq.com/sns/userinfo",				//获取用户信息请求地址  
	"url_connect_code"				=>	"https://open.weixin.qq.com/connect/oauth2/authorize",	//用户授权请求地址 获取code

	// 微信推送信息接口
	"url_message_send"				=>	"https://api.weixin.qq.com/cgi-bin/message/template/send",	//微信发送模版消息接口

	// 客户端 授权成功返回地址
	"return_url_oauth2"				=>	"http://test.dakaqi.cn/weixin/index.php/Oauth/band",	//用户授权请求地址 获取code

	// 打卡器服务端接口请求地址
	"api_join_activity"				=>	"http://test.dakaqi.cn:3030/pu/services/activity-apply.action",	//报名参加活动
	"api_member_reg"				=>	"http://test.dakaqi.cn:3030/pu/services/wei-xin-reg.action",	//用户注册打卡器账号
    "api_join_org"  				=>	"http://test.dakaqi.cn:3030/pu/services/org-apply.action",	//用户申请加入组织

	// 活动信息接口
	"url_activity_info"				=>	"http://www.dakaqi.cn/share/activity.action",	//打卡器活动预览地址
	"url_activity_def_image"		=>	"http://www.dakaqi.cn/images/img_01.jpg",	//微信展示活动信息，活动默认封面地址
	


	//数据库配置
	"mysql_connect_url"				=>	"192.168.2.117",
	"mysql_connect_root"			=>	"root",
	"mysql_connect_password"		=>	"123456",
	"mysql_connect_db_name"			=>	"volunteer_pu",
	
	//smarty 配置	
	"smarty_caching"				=>	false,  //是否开启模版缓存
	"smarty_cache_lifetime"			=>	120,	//缓存文件有效时间，单位为 秒
	"smarty_template_extension"		=>  "html",	//模版文件后缀名

    //redis 配置
    "redis_open"					=> true,	//是否开启redis,默认 false
    "redis_connect"					=> "192.168.2.117", //redis 服务器地址。
    "redis_port"					=> 6379,		//服务器端口

	//memcache 配置
	"memcache_open"					=> false,	//是否开启memcache,默认 false
	"mem_connect"					=> "127.0.0.1", //memcache 服务器地址。
	"mem_port"						=> 11211,		//服务器端口
	"mem_compressed"				=> 0,	//缓存数据压缩比例。 0 压缩， 1，会有问题。 2，压缩
	"mem_life_time"					=> 3600,	//缓存数据有效期单位 秒


	

	);


